luci-mod-status: fix wrong logic for maclist adding feature
authorAnsuel Smith <[email protected]>
Sat, 18 Sep 2021 14:25:23 +0000 (16:25 +0200)
committerJo-Philipp Wich <[email protected]>
Tue, 12 Oct 2021 21:03:33 +0000 (23:03 +0200)
commit06419e9a9c778d0ffa824ebb4a76d7551bac8cd1
treebc22ee4ba0dd7f508feee52ce652cbc84941a5d1
parent2fe3d0ab4a381b6eaacd0faf835089ef04170c99
luci-mod-status: fix wrong logic for maclist adding feature

Currently any new entry added to the black/whitelist deletes the
others. Fix this and improve the rule apply by firstly disconnect
the wifi client.

Fixes: #5343
Signed-off-by: Ansuel Smith <[email protected]>
(cherry picked from commit 085c4a08f5bf50919731304a962cfcd2b592d523)
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js